import { API_CONFIG } from "../config/index.js";
import request from './index.js'

export const getRebuildListHandler=()=>{
    return request(API_CONFIG.listRebuildApi, {},"get","2000")
}
export const kilobRebuildHandler=(data)=>{
    console.log("重建索引:",data)
    return request(API_CONFIG.kilobRebuildApi, data,"post","2000")
}

export const performanceRebuildHandler=(data)=>{
    console.log("重建效能:",data)
    return request(API_CONFIG.performanceRebuildApi, data,"post","2000")
}


